package com.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
public class FocusVo {
    @JsonSerialize(using= ToStringSerializer.class)
    Long userId;      //用户的id
    @JsonSerialize(using= ToStringSerializer.class)
    Long focusId;    //用户关注的人的ID
    String userName;
    String focusName;
    @JsonSerialize(using = ToStringSerializer.class)
    Long focusCount;//用户关注的人数
    @JsonSerialize(using = ToStringSerializer.class)
    Long fansCount;//用户的粉丝数
    String touXiang;
    String address;
    String sex;
    String geQian;
    @JsonSerialize(using = ToStringSerializer.class)
    Long artCount; //发布的帖子数
    Boolean focused;//是否已关注
}
